/**
 * 
 */
package com.surelution.cppei.weixin.gate

import com.surelution.whistle.core.Attribute;

/**
 * @author <a href="mailto:guangzong.syu@gmail.com">guangzong</a>
 *
 */
class DefaultAction extends CppeiBaseAction {

	/* (non-Javadoc)
	 * @see com.surelution.whistle.core.BaseAction#accept()
	 */
	@Override
	public boolean accept() {
		true
	}

	/* (non-Javadoc)
	 * @see com.surelution.whistle.core.BaseAction#execute()
	 */
	@Override
	public void execute() {
		if(subscriber.account) {
			delegateToSubAccount()
		} else {
			put(new Attribute(Attribute.KEY_Content, "hello"))
		}
		//"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd6e0da7a19719047&redirect_uri=http%3A%2F%2Fsurelution.dlinkddns.com%2Fcppei-wx-gate%2Fbranch&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect"
//		put(new Attribute(Attribute.KEY_Content, rootPath))
	}

}
